<?php
define( '_VALID_MOS', 1 );
defined( '_VALID_MOS' ) or die( 'Acceso restringido.' );
require( $_SERVER["DOCUMENT_ROOT"].'/globals.php' );
require_once( $_SERVER["DOCUMENT_ROOT"].'/configuration.php' );
require_once( $_SERVER["DOCUMENT_ROOT"].'/includes/joomla.php' );
include_once( $mosConfig_absolute_path . '/language/'. $mosConfig_lang .'.php' );
require_once( $mosConfig_absolute_path . '/administrator/includes/admin.php' );
require_once( $mosConfig_absolute_path . '/editor/editor.php' );
require_once( $mosConfig_absolute_path .'/administrator/templates/joomla_admin/index.php' );

//mosRedirect( "index2.php?option=com_media", "Directory creation not allowed while running in SAFE MODE as this can cause problems." );

header($_SERVER["DOCUMENT_ROOT"]."/administrator/index2.php?option=com_media");
//include_once($_SERVER["DOCUMENT_ROOT"]."/administrator/components/com_media/admin.media.html.php");

?>